import Department from "./Department";
import Machine from "./Machine";

export default class Worker {
    id: string;
    name: string;
    department: Department;
    machine: Machine;
    constructor(worker: Worker) {
        this.id = worker.id;
        this.name = worker.name;
        this.department = worker.department;
        this.machine = worker.machine;
    }
}